#include "ArmyState.h"
#include "UserAPI.h"
#include "BasicAI.h"
#include "params.h"

using namespace ArmyStateNS;

void BaseState::enter_state(GeneralType name, BaseState *next_state)
{
	BasicAI::instance()->set_army_state(name, next_state);
	next_state->execute();
}